package cn.xdd.entity;

import java.util.List;

/**
 * @author user_xdd
 * @Date 2022-04-01 20:18
 * @description 包含user对象和一个power对象集合
 * @return
 */
public class UserAllTokens {
    User user;
    List<power> powers;

    @Override
    public String toString() {
        return "UserAllTokens{" +
                "user=" + user +
                ", powers=" + powers +
                '}';
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public List<power> getPowers() {
        return powers;
    }

    public void setPowers(List<power> powers) {
        this.powers = powers;
    }

    public UserAllTokens(User user, List<power> powers) {
        this.user = user;
        this.powers = powers;
    }

    public UserAllTokens() {
    }
}
